Routing system

ABSTRACT

A routing system is improved by performing three steps sequentially to complete an execution process. The first step estimates a normalized criticality score for each design net. The second step arranges the scores for each design net in descending order. Third step rips up and reroutes the design so as to make it more feasible.

PRIORITY CLAIM

This application claims priority to Indian Provisional Application for Patent No. 2755/Del/2008 filed Dec. 4, 2008, the disclosure of which is hereby incorporated by reference.

TECHNICAL FIELD

The present disclosure relates to computer-aided designs (CAD), and more specifically, to an improved routing system in an integrated circuits.

BACKGROUND

Routing is executed on various kinds of networks, including the telephone networks, electronic networks and transportation (transport) networks. The main rationale while performing routing involves selecting paths in the network along which information has to be transported based on parameters such as timing delay, unrouted routes, number of hops (intermediate points) and transmission cost.

Routing in large integrated circuits or electronic networks is automatically performed by a routing mechanism known as a “router” that is typically implemented as a software tool on a computer-aided design system (CAD).

In CAD, modern routers try to find routing paths through the routing resource graph. These routers primarily consider the cost of various routing alternatives available in the resource graph as a step prior to routing. Each routing alternative available in the resource graph comprises nets which further comprise a combination of sources and sinks.

Further, static cost and dynamic cost are main attributes in determining cost of the nets. The static cost for a given net comprises those attributes which do not change across routing iterations. They are further divided into three parameters:

a) a net's span, is the span of the bounding box (a rectilinear region) of the net in x and y directions. A wider span indicates that the pins (sinks) of the net are apart and gives good approximation of total wirelength required to route this net. The wider the span, the higher the chance of a net being un-routable.

FIG. 1 illustrates a net bounding box, X units wide and Y units apart. The half perimeter of the bounding box is approximated by

HPWL=X+Y

b) a net's fan-out, is the number of sinks that the source of the net drives. A higher value of fanout of a net uses longer segments to route the net.

Net fan-out=Number of sinks

c) delay sensitivity is the change in the Manhattan distance. It is approximated by considering the change for a given ΔX and ΔY Manhattan distance in a given bounding box. For all possible (ΔX,ΔY) pairs, a delay look up table is computed which stores the best routing delay possible for the corresponding Manhattan pair.

Delay sensitivity (net_(i))=Delay value from timing look up table corresponding to (ΔX, ΔY) pair as computed from the net's bounding box.

The dynamic cost of the nets comprises attributes which change across routing iterations such as number of unroutable sinks, timing deviation and wire length deviation. The attributes are defined in the following description.

i) unroutable sinks are the number of sinks of a net for which a feasible routing tree cannot be constructed.

ii) timing deviation, is the deviation from the best estimated delay possible (from the timing look up table) and the actual achieved delay.

Timing deviation=|Delay sensitivity−Actual Delay achieved|

iii) wire-length deviation, is the deviation from the best estimated routed wire-length possible (from the net's placement bounding box) and the actual achieved routed wire-length (from the net's routing tree bounding box)

Wire-length deviation=|HPWL (Placement)−HPWL (Routing tree)|

Further, in the course of routing design nets it is difficult to obtain feasible routing trees. This is because of potential routing resources locked by other nets or timing/wire-length constraints of net exceeding the desired cut off region. Under such circumstances routers proceed for a rip-up and reroute phase. Normally, the entire design is ripped up and rerouted with no intelligence in identifying sets of nets whose rip-up and reroute will make the design feasible.

SUMMARY

The present disclosure describes an improved rip-up system implemented through a computer-aided-design. This system primarily performs three steps. The first step is to estimate the normalized criticality score for each design net. The second step is to arrange the score of each design net in descending order. The third step is to rip up the critical and obstructing design nets in the design.

According to the present disclosure, a system comprising a routing module for computer aided design, said routing module comprising: a routing order estimating module; and a rip-up module.

According to another embodiment of the present disclosure the routing order estimating module comprises: a routing net normalizer; and a routing net sequencer. This routing net normalizer generates a criticality score by summation of weights of parameters of Static and Dynamic cost of the nets. The estimation of routing order comprises: approximating a normalized criticality score of each net in the design; and sequencing said normalized criticality scores in their descending order

According to another embodiment of the present disclosure rip up module comprises: a bounding box identifier; an obstructing net analyzer; and an obstructing net eliminator. The ripping up the most critical and obstructing net sets in the design follows the steps: identifying the bounding box region and overlapping bounding box region; determining the obstructing net sets in said bounding box region; and ripping up said obstructing net sets in the design based on incremental rip up limited by a depth factor.

According to another embodiment of the present disclosure, a routing method for computer-aided design comprising: estimating routing order for all nets in the design; and ripping up most critical and obstructing net sets in the design. The method for estimating routing order comprises: approximating a normalized criticality score of each net in the design; and sequencing said normalized criticality scores in their descending order. Further, ripping up the most critical and obstructing net sets in the design follows the steps: identifying the bounding box region and overlapping bounding box region; determining the obstructing net sets in said bounding box region; and ripping up said obstructing net sets in the design based on incremental rip up limited by a depth factor.

BRIEF DESCRIPTION OF THE DRAWINGS

The present disclosure explains the various embodiments to the instant disclosure in the following description, taken in conjunction with the accompanying drawings, wherein:

FIG. 1 illustrates a net bounding box with half perimeter length according to conventional art;

FIG. 2 illustrates overlapped nets on FPGA chip architecture according to an embodiment of the present disclosure;

FIG. 3 illustrates a block diagram of a routing module in a computer-aided-design system according the present disclosure;

FIG. 4 illustrates a block diagram of a routing order estimating module according the present disclosure;

FIG. 5 illustrates a block diagram of a rip-up module according the present disclosure; and

FIG. 6 illustrates a flow chart for a method for rip-up routing according to an embodiment of the present disclosure.

DETAILED DESCRIPTION OF THE DRAWINGS

The embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. However, the present disclosure is not limited to the embodiments and the embodiments described herein in the art of the present disclosure. The disclosure is described with reference to specific circuits, block diagrams, signals, etc. simply to provide a more thorough understanding of the disclosure.

FIG. 2 illustrates a block diagram of a routing module in a computer-aided-design system according to the present disclosure. A computer-aided-design system 201 comprises of a routing module 202. This routing module 202 further comprises a routing order estimating module 203 and a rip-up module 204.

FIG. 3 illustrates a block diagram of a routing order estimating module according to the present disclosure. The routing order estimating module 203 estimates the routing order for all nets in the design. It consists of a routing net normalizer 301 for approximating a normalized criticality score of each net in the design and a routing net sequencer 302 for sequencing said normalized criticality scores in their descending order.

Further, in accordance with the present disclosure to estimate the normalized criticality score of all nets in the design, the normalized weight value of all the parameters of static and dynamic cost are computed in the following manner:

The normalized weight value span of a net is computed by normalizing half perimeter wirelength (HPWL) of each net with sum of horizontal Nx and vertical Ny chip dimension,

Weight_Span(net_(i))=HPWL(net_(i))/(Nx+Ny)

The normalized weight value of the fanout of a net is computed by normalizing fanout for each net with the maximum net fanout of the chip design

Weight_Fanout(net_(i))=fan-out(net_(i))/Max_design_fan-out

The normalized value for delay sensitivity is computed by normalizing delay sensitivity of each net with the critical path delay computed for the placed and routed design.

Weight_Delay Sensitivity(net_(i))=Delay sensitivity(net_(i))/Dmax

Routing resource competition is another parameter of static cost in addition to Net Span and Net fan out. It is feasible for the router to find the routing tree within the bounding box as derived from the placement of the net. But due to overlapping nature of design nets in the given bounding box, degree of routing becomes tough.

FIG. 4 describes the routing resource competition. The net having source sinks in blocks marked as “1” has competition with nets marked as “2” and “3”. This is because the bounding box of design net “1” is overlapped by the bounding box of design “2”. Further, bounding box of design net “1” and “2” are overlapped by the bounding box of design net “3” design net. This overlapping of bounding boxes create competition among the routing resources in the overlapped region. Thus, it becomes necessary to identify the criticality of design nets and avoid competition in routing. The value of the resource routing competition is approximated by:

Resource Competition (Net1)=(Routing area overlapped/Available routing area)

where,

Routing area overlapped=Σ overlapped bounding box area (neti)

Available routing area=Bounding box of net under consideration

And, the normalized weight value of resource competition is computed by normalizing the resource competition of each net with the maximum value of the resource competition computed as follows:

Weight_ResourceCompetiton(net_(i))=Resource_Competition(net_(i))/Max_Design_Resource_competition

Similarly, the normalized weight values of parameters of dynamic cost are approximated in the following description.

The normalized value of unroutable nets is computed by normalizing unroutable factor of each net with the maximum net fanout in the design.

Weight_Unroutable(net_(i))=un-routable sinks(net_(i))/Max_design_fan-out

The normalized value of Timing Deviation is computed by normalizing timing deviation for each net with the critical path delay computed for the placed and routed design.

Weight_Timing_Deviation(net_(i))=Timing deviation(net_(i))/Dmax

And, the normalized value of Wire-length Deviation is computed by normalizing Wirelength deviation for each net with sum of Horizontal (Nx) and vertical (Ny) chip dimensions.

Weight_Wire_Deviation(net_(i))=Wire-length deviation(net_(i))/(Nx+Ny)

After computing the normalized weight values of each static and dynamic cost parameter, the total criticality of each net is given by adding all the computed normalized weights of each parameter. The score is approximated by Criticality_Score(net_(i))_(normalized) .wherein:

Criticality_Score(net_(i))_(normalized)=Weight_Span(net_(i))+Weight_Fanout(net_(i))+Weight_ResourceCompetiton(net_(i))+Weight Delay Sensitivity(net_(i))+Weight_Unroutable(net_(i))+Weight Timing Deviation(net_(i))+Weight Wire Deviation(net_(i))

Further, the routing net sequencer 302 arranges the normalized criticality score value approximated by the routing net normalizer 301, in decreasing order of their criticality. This arrangement of scores gives the approximated order of the critical nets prior to routing. This pre-estimation of routing order not only helps in achieving a high quality routed solution but also increases the routability prospects.

After defining the order of design nets, in another aspect of the present disclosure the critical nets are removed in the routing process by means of an intelligent rip up algorithm.

FIG. 5 illustrates a block diagram of the rip-up module according to an embodiment of the present disclosure. The rip-up module 204 rips up the most critical and obstructing net sets in the routing design. The rip-up module 204 comprises: a bounding box identifier 501, for identifying bounding box region and overlapping bounding box region; an obstructing net analyzer 502, for determining the obstructing net sets in said bounding box region; and an obstructing net eliminator 503, for ripping up said obstructing net sets in the design.

Hereinafter, critical nets are referred as obstructing net sets. These obstructing net sets are overlapping bounding boxes i.e. a net whose routing tree passes through the given net's routing tree region and creates obstruction for the other. Therefore, overlapping between these boxes has to be removed for a feasible routing solution. The following pseudo code shows the implementation of the rip-up algorithm:

RipUpAlgorithm(list<int> badNets) {   for_each(net ε badNets)   {     Let netID be ID of net     List<int>ObstructingNetSet = Incremental_Rip_up(netID, 0)     For_each(net ε ObstructingNetSet)     {       Release routing tree of net     }   } }

Further, the function Incremental_Rip_up takes into account the parameter known as “depth Factor”. Depth factor is an absolute value of recursion reached (for a particular obstructing net ripup) at any given instance of time and is a variable which gets incremented by one during each recursive rip up call for an obstructing net till the list is completed. It is computed during experimentation by repetitive simulation. The following pseudo code shows the ripping up the design considering the depth factor:

List<int> Incremental_Rip_up(int netID, int depthFactor) { If (depthFactor == desiredDepthFactor)   {   Return   } depthFactor ++; }

According to the algorithm, rip-up begins with ripping the routing trees with bad nets (timing or wire length constraints) within each bounding box of the design net. If the process is successful then the execution gets completed otherwise it returns back to the bounding box of design net as given by its placement. The following pseudo code explains the computation of the bounding box and the routing tree:

boundingBox = computeBoundingBox(netID) list<int> obstructingNetSet = computeOverlappingNets(netID)   for_each(net ε obstructingNetSet)   {     List<int> recursiveNet = Incremental_Rip_up(net, depthFactor)     Populate obstructingNetSet with recursiveNet   }     Populate obstructingNetSet with netID     Return obstructingNetSet   } BoundingBox computeBoundingBox(int netID) {   Let designNet be the net corresponding to netID If (routing tree of designNet exists) {   Return bounding box of designNet's routing tree } Else {   Return bounding box of designNet as given by its placement } }

Further, the obstructing net set is determined by computing overlapping nets of the overlapping bounding boxes in the following pseudo codes as explained in the subsequent lines:

List <int> computeOverlappingNets(int netID) { List<int> overlappedNets Let designNet be the net corresponding to netID For_each (net (candidateNet) of design) {   Let boundingBox1 be bounding box of routing tree for designNet   Let boundingBox2 be bounding box of routing tree for candidateNet   If (boundingBox2 overlaps complete or partially boundingBox1)   {     Populate overlappedNets with candidateNet's ID   } } Return overlappedNets }

An embodiment describing the method for rip-up routing is described in FIG. 6. The methods are illustrated as a collection of blocks in a logical flow graph, which represents a sequence of operations that can be implemented in hardware, software, or a combination thereof. The order in which the process is described is not intended to be construed as a limitation, and any number of the described blocks can be combined in any order to implement the process, or an alternate process.

FIG. 6 illustrates a flowchart for a method for rip-up routing according to an embodiment of the present disclosure. In step 601, a normalized criticality score is approximated for each net in the design by the routing net normalizer 301. In step 602 the said scores are sequenced in the descending order of their values by the routing net sequencer 302. In step 603, an identification is made of the routing tree based on the net's preexisting design. If the identification cannot be made in step 603, then in step 606 the routing tree is constructed.

Further, in step 604 the obstructing net analyzer 502 identifies the overlapping routing tree which creates obstruction for the other. In step 605, obstructing net sets are ripped up by the rip-up module 204.

Thus, the intelligent rip up algorithm rips up bad nets as well as obstructing net sets while maintaining the good nets available in the design. This reduces the processing time of the system, thus making it fast and accurate.

The embodiment of the present disclosure can be used in various applications for finding shortest path routes in FPGA chip architectures, Communication networks, Traffic Information systems etc.

Although the disclosure of the instant disclosure has been described in connection with the embodiment of the present disclosure illustrated in the accompanying drawings, it is not limited thereto. It will be apparent to those skilled in the art that various substitutions, modifications and changes may be made thereto without departing from the scope and spirit of the disclosure.

The various embodiments described above can be combined to provide further embodiments. Aspects of the embodiments can be modified, if necessary to employ concepts of the known prior art to provide yet further embodiments. These and other changes can be made to the embodiments in light of the above-detailed description.

In general, in the following claims, the terms used should not be construed to limit the claims to the specific embodiments disclosed in the specification and the claims, but should be construed to include all possible embodiments along with the full scope of equivalents to which such claims are entitled. Accordingly, the claims are not limited by the disclosure. 

1. A system comprising a routing module for computer aided design, comprising: a routing order estimating module; and a rip-up module.
 2. The system of claim 1, wherein the routing order estimating module comprises: a routing net normalizer; and a routing net sequencer.
 3. The system of claim 2, wherein the routing net normalizer is adapted to generate a criticality score by summation of weights of parameters of static cost and dynamic cost of routing nets.
 4. The system as claimed in claim 1, wherein the rip up module comprises: a bounding box identifier; an obstructing net analyzer; and an obstructing net eliminator.
 5. A routing method for computer-aided design comprising: estimating with a first module of a computer aided design system a routing order for all nets in a design; and ripping up with a second module of a computer aided design system those most critical and obstructing net sets in the design.
 6. The method of claim 5, wherein estimating the routing order comprises: approximating with a normalizer of the first module a normalized criticality score of each net in the design; and sequencing with a sequencer of the first module said normalized criticality scores in descending order.
 7. The method of claim 6, wherein approximating the normalized criticality score comprises summing of weights of parameters of static cost and dynamic cost of the net.
 8. The method of claim 5, wherein ripping up the most critical and obstructing net sets in the design follows the steps: identifying with a bounding box identifier of the second module a bounding box region and overlapping bounding box region; determining with an obstructing net analyzer of the second module the obstructing net sets in said bounding box region; and ripping up with an obstructing net eliminator of the second module said obstructing net sets.
 9. The method of claim 8, wherein identifying the bounding box region comprises: identifying a routing tree of an existing design net; or identifying the routing tree of the design net as given by its placement.
 10. The method of claim 8, wherein the overlapping bounding box region is determined by a net whose routing tree passes through the routing tree region of a given net and creates an obstruction.
 11. The method of claim 8, wherein obstructing net sets are ripped up by incremental rip up limited by a depth factor.
 12. The method of claim 11, wherein said depth factor is an absolute value of recursion reached at any given instance of time and which is a variable that is incremented by one during each recursive rip up call for an obstructing net until the list is completed. 